Gradually change the border-radius property from 0 to 50px then back:

The border-radius is animatable in CSS.

Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.